package com.mz.ozy.bean;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class OnlineFamilyBean {
    //    "tradname": "包子1",
//            "img_zt": "http://ozy.ozylives.com/ozy1586857188089",
//            "sessionId": "C808490BA27E2C716650D4155C1A7446",
//            "gname": "1KG",
//            "card_list": [{
//        "cardname": "兑换券0512",
//                "id": 241,
//                "state": 1,
//                "dhcode": "OZY6721778319",
//                "described": "兑换券0512描述"
//    }],
//            "返回参数说明": "room_list(包间列表 id(包间id),name(包间名称),miniman(最小人数),maxman(最大人数),num(是否被预订 0表示未被预订)),restaurant_map(餐厅信息 id(餐厅id),name(餐厅名称),address(餐厅地址),phone(电话),starttime(开始时间),endtime(结束时间)),card_list(兑换券列表 id (兑换券id),dhcode(兑换码),state(状态0-未生效1-生效中2-已失效3-已作废 4-已使用),cardname(兑换券名称),described(兑换券描述)),id(套餐id),attribute_id(规格id),name(套餐名称),price(价格),gname(规格值),tradname(商品名称),img_zt(商品主图),balance_map（balance(余额),integral(积分)）",
//            "balance_map": {
//        "balance": "898289.0000",
//                "integral": "999856.0000"
//    },
//            "attribute_id": "252",
//            "price": "100.00",
//            "name": "测试",
//            "respMsg": "SUCCESS",
//            "id": "2",
//            "respCode": "00000",
//            "restaurant_map": {
//        "address": "111",
//                "phone": "13111111111",
//                "name": "测试1",
//                "endtime": "2020-05-12 17:21:25",
//                "id": 1,
//                "starttime": "2020-05-12 17:21:23"
//    },
//            "room_list": [{
//        "miniman": 10,
//                "num": 0,
//                "name": "测试",
//                "maxman": 20,
//                "id": 1
//    }]
    private String id;
    private int attribute_id;
    private String tradname;
    private String img_zt;
    private String gname;
    private String name;
    private String price;
    private RestaurantMapBean restaurant_map;
    private BalanceMapBean balance_map;
    private List<ExchangeOrderBean.CardMapBean> card_list = new ArrayList<>();
    private List<RoomListBean> room_list = new ArrayList<>();

    public String getId() {
        return id;
    }

    public int getAttribute_id() {
        return attribute_id;
    }

    public String getTradname() {
        return tradname;
    }

    public String getImg_zt() {
        return img_zt;
    }

    public String getGname() {
        return gname;
    }

    public String getName() {
        return name;
    }

    public String getPrice() {
        return price;
    }

    public RestaurantMapBean getRestaurant_map() {
        return restaurant_map;
    }

    public BalanceMapBean getBalance_map() {
        return balance_map;
    }

    public List<ExchangeOrderBean.CardMapBean> getCard_list() {
        return card_list;
    }

    public List<RoomListBean> getRoom_list() {
        return room_list;
    }

    public static class BalanceMapBean implements Serializable {
        private String balance;
        private String integral;

        public String getBalance() {
            return balance;
        }

        public String getIntegral() {
            return integral;
        }
    }

    public static class RestaurantMapBean implements Serializable {
        private int id;
        private String address;
        private String phone;
        private String name;
        private String endtime;
        private String starttime;

        public int getId() {
            return id;
        }

        public String getAddress() {
            return address;
        }

        public String getPhone() {
            return phone;
        }

        public String getName() {
            return name;
        }

        public String getEndtime() {
            return endtime;
        }

        public String getStarttime() {
            return starttime;
        }
    }

    public static class RoomListBean implements Serializable {
        private int id;
        private int miniman;
        private int num;
        private int maxman;
        private String name;

        public int getId() {
            return id;
        }

        public int getMiniman() {
            return miniman;
        }

        public int getNum() {
            return num;
        }

        public int getMaxman() {
            return maxman;
        }

        public String getName() {
            return name;
        }
    }
}
